package com.hanliy.dto;

import com.hanliy.Entity.AdminEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hanyulin
 * @apiNote 用于分组校验
 * @date 2021/12/12 22:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdminDTO extends AdminEntity {

    //@NotNull(message = "id不能为空",groups = Update.class)
    //private Long id;
    //
    //@NotNull(message = "用户名不能为空",groups = Save.class)
    //private String name;
    //
    //@NotNull(message = "年龄不能为空",groups = Save.class)
    //private Integer age;
}
